  let logindiv1 = document.querySelector('.logindiv1')
  let logindiv3 = document.querySelector('.logindiv3')
  function jump() {
            let num = 5;
            setInterval(function() {
                num--
                //判断
                if (num <= 0) {
                    //跳转页面
                    location.href = 'https://www.baidu.com'
                } else {
                    //渲染到页面中
                    logindiv1.textContent = `${num}s`;
                    console.log(num);
                }

            }, 1000)
        }
        jump()
        logindiv3.addEventListener('click',function(){
            window.location.href = "www.baidu.com"
            console.log(1);
                })
